package bookstudytest.bytetranslation;

import java.util.Random;
import java.util.concurrent.ThreadLocalRandom;

/**
 * @Auther: Lee
 * @Date: 2018/6/14 15:28
 * @Description: 十六进制转换
 */
public class ByteTranslat {


    public static void main(String[] args) {
        //将一个十进制数字转成十六进制，返回是一个string
        String x = Integer.toHexString(256000000);
        System.out.println(x);
    }

}

